package com.groupbuying.orderconsumer.connector;

import com.groupbuying.orderconsumer.utils.apiresult.ApiResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @Description 系统配置类Feign接口
 * @Author Davidbieber
 * @Email davidbieber@163.com
 * @Date 2019/10/24 11:27 AM
 */
@Service
@FeignClient(name = "service-sysconfig")
public interface SysConfigFeign {

    /*订单中心----微信公众号消息模板*/
    @PostMapping("/notify/weChatPublicApp")
    ApiResult doWechatAppTemplateSend(@RequestParam Map<String,Object> params);
}
